package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Storage entity. @author MyEclipse Persistence Tools
 */

public class Storage implements java.io.Serializable {

	// Fields

	private Integer storageId;
	private Build build;
	private Short storageWay;
	private Float upperLimit;
	private Float spaceUtilization;
	private Set goodsstorages = new HashSet(0);
	private Set materialstorages = new HashSet(0);
	private Set materielbuies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Storage() {
	}

	/** full constructor */
	public Storage(Build build, Short storageWay, Float upperLimit, Float spaceUtilization, Set goodsstorages,
			Set materialstorages, Set materielbuies) {
		this.build = build;
		this.storageWay = storageWay;
		this.upperLimit = upperLimit;
		this.spaceUtilization = spaceUtilization;
		this.goodsstorages = goodsstorages;
		this.materialstorages = materialstorages;
		this.materielbuies = materielbuies;
	}

	// Property accessors

	public Integer getStorageId() {
		return this.storageId;
	}

	public void setStorageId(Integer storageId) {
		this.storageId = storageId;
	}

	public Build getBuild() {
		return this.build;
	}

	public void setBuild(Build build) {
		this.build = build;
	}

	public Short getStorageWay() {
		return this.storageWay;
	}

	public void setStorageWay(Short storageWay) {
		this.storageWay = storageWay;
	}

	public Float getUpperLimit() {
		return this.upperLimit;
	}

	public void setUpperLimit(Float upperLimit) {
		this.upperLimit = upperLimit;
	}

	public Float getSpaceUtilization() {
		return this.spaceUtilization;
	}

	public void setSpaceUtilization(Float spaceUtilization) {
		this.spaceUtilization = spaceUtilization;
	}

	public Set getGoodsstorages() {
		return this.goodsstorages;
	}

	public void setGoodsstorages(Set goodsstorages) {
		this.goodsstorages = goodsstorages;
	}

	public Set getMaterialstorages() {
		return this.materialstorages;
	}

	public void setMaterialstorages(Set materialstorages) {
		this.materialstorages = materialstorages;
	}

	public Set getMaterielbuies() {
		return this.materielbuies;
	}

	public void setMaterielbuies(Set materielbuies) {
		this.materielbuies = materielbuies;
	}

}